Skip to content

Instantly share code, notes, and snippets.

@scottslowe
Created December 13, 2012 04:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottslowe/4274021 to your computer and use it in GitHub Desktop.
Save scottslowe/4274021 to your computer and use it in GitHub Desktop.
Simplified snippet from accounts::config to manage files in /etc/skel
class accounts::config {
# Place a file in /etc/profile.d to manage the prompt
file { '/etc/profile.d/prompt.sh':
ensure => 'present',
source => 'puppet:///modules/config/profiled-prompt.sh',
mode => '0644',
owner => '0',
group => '0',
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment