sets timezone
sets timezone coping the actual timezone file to /etc/localtime
- /etc/localtime
- manages timezone's package (usually it's called tzdata)
This module requires pluginsync enabled
class { 'timezone':
region => 'Europe',
locality => 'Andorra',
}
It just sets localtime to the appropriate timezone
class { 'timezone':
region => 'Europe',
locality => 'Andorra',
}
class { 'timezone':
timezonename => 'UTC',
}
- region: region to be used (default: Europe)
- locality: locality to be used (default: Andorra)
- timezonename: timezone to set, if it is defined, overrides region and locality
- manage_package: manage package, usually it's called tzdata (default: true)
- package_ensure: package's ensure (default: installed)
should work anywhere
We are pushing to have acceptance testing in place, so any new feature should have some test to check both presence and absence of any feature
Nothing so far
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request