Skip to content

Instantly share code, notes, and snippets.

@yunchih
Created November 29, 2016 14:34
Show Gist options
  • Save yunchih/62774fb43196242e3e24264901d7d7d4 to your computer and use it in GitHub Desktop.
Save yunchih/62774fb43196242e3e24264901d7d7d4 to your computer and use it in GitHub Desktop.
class ws::sudo {
package { "sudo":
ensure => 'present'
}
file { ['/etc/sudoers']:
ensure => file,
owner => '0',
group => '0',
mode => '0644',
source => "puppet:///$environment/etc/sudoers"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment