Skip to content

Instantly share code, notes, and snippets.

@QuinnyPig
Created January 30, 2015 22:51
Show Gist options
  • Save QuinnyPig/01ddb6de58c7d1d5902c to your computer and use it in GitHub Desktop.
Save QuinnyPig/01ddb6de58c7d1d5902c to your computer and use it in GitHub Desktop.
root@ubuntu-server-1204-x64:/tmp# puppet resource service ntp enable=true
Warning: Setting templatedir is deprecated. See http://links.puppetlabs.com/env-settings-deprecations
(at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1139:in `issue_deprecation_warning')
Notice: /Service[ntp]/enable: enable changed 'false' to 'true'
service { 'ntp':
ensure => 'running',
enable => 'false',
}
root@ubuntu-server-1204-x64:/tmp# puppet resource service ntp enable=true
Warning: Setting templatedir is deprecated. See http://links.puppetlabs.com/env-settings-deprecations
(at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1139:in `issue_deprecation_warning')
Notice: /Service[ntp]/enable: enable changed 'false' to 'true'
service { 'ntp':
ensure => 'running',
enable => 'false',
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment