Add ntp package and don't run most kosmos-base things in development
This commit is contained in:
parent
26097197ca
commit
5534b57752
@ -14,3 +14,4 @@ depends 'hostname'
|
||||
depends 'firewall'
|
||||
depends 'chef_client_updater'
|
||||
depends 'timezone-ii'
|
||||
depends 'ntp'
|
||||
|
@ -9,6 +9,7 @@
|
||||
|
||||
include_recipe 'apt'
|
||||
include_recipe 'timezone-ii'
|
||||
include_recipe 'ntp'
|
||||
|
||||
# Update chef to the chosen version
|
||||
chef_version = '12.19.36'
|
||||
@ -39,15 +40,14 @@ unless node.chef_environment == "development"
|
||||
]
|
||||
node.override['authorization']['sudo']['passwordless'] = true
|
||||
include_recipe 'sudo'
|
||||
end
|
||||
|
||||
include_recipe 'kosmos-base::firewall'
|
||||
|
||||
include_recipe 'kosmos-postfix'
|
||||
|
||||
node.override['set_fqdn'] = '*'
|
||||
include_recipe 'hostname'
|
||||
|
||||
include_recipe 'kosmos-base::firewall'
|
||||
|
||||
package 'ca-certificates'
|
||||
|
||||
directory '/usr/local/share/ca-certificates/cacert' do
|
||||
@ -65,3 +65,4 @@ end
|
||||
execute 'update-ca-certificates' do
|
||||
action :nothing
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user