Skip to content

Instantly share code, notes, and snippets.

@jasonwbarnett
Created April 20, 2012 21:39
Show Gist options
  • Save jasonwbarnett/2432058 to your computer and use it in GitHub Desktop.
Save jasonwbarnett/2432058 to your computer and use it in GitHub Desktop.
Workaround for puppet bug 9361
class updated::config {
file { '/updated/bin/':
ensure => directory,
recurse => true,
purge => true,
force => true,
owner => root,
group => root,
mode => 775,
source => "puppet:///modules/updated/bin/",
}
file { '/updated/bin/left_bracket':
path => '/updated/bin/[',
ensure => present,
owner => root,
group => root,
mode => 755,
source => "puppet:///modules/updated/bin/%5b",
}
File['/updated/bin/left_bracket'] -> File['/updated/bin/']
}
@jasonwbarnett
Copy link
Author

changing the title from '/updated/bin/%5b' to '/updated/bin/left_bracket' got rid of the annoying duplicate error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment