Skip to content

Instantly share code, notes, and snippets.

@ccaum
Last active December 14, 2015 00:09
Show Gist options
  • Select an option

  • Save ccaum/4997123 to your computer and use it in GitHub Desktop.

Select an option

Save ccaum/4997123 to your computer and use it in GitHub Desktop.
class apache {
package { 'httpd':
ensure => installed,
}
service { 'httpd':
ensure => running,
require => Package[httpd],
}
file { '/etc/httpd/httpd.conf':
ensure => file,
source => 'puppet:///modules/apache/httpd.conf',
notify => Service[httpd],
}
}
user { 'root':
ensure => present,
gid => 0,
uid => 0,
home => '/root',
password => '$6$v/n4tglG$BlbWo1',
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment