Skip to content

Commit

Permalink
Leading zeros need to be quoted
Browse files Browse the repository at this point in the history
  • Loading branch information
raphink committed Feb 4, 2015
1 parent c74dc76 commit 6f6719d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifests/plugin/discovery.pp
Expand Up @@ -33,7 +33,7 @@
if $install_images {
foreman::remote_file {"${tftp_root_clean}/boot/${image_name}":
remote_location => "${source_url}${image_name}",
mode => 0644,
mode => '0644',
require => File["${tftp_root_clean}/boot"],
} ~> exec { "untar ${image_name}":
command => "tar xf ${image_name}",
Expand Down
2 changes: 1 addition & 1 deletion manifests/remote_file.pp
@@ -1,5 +1,5 @@
# Downloads a file from a URL to a local file given by the title
define foreman::remote_file($remote_location, $mode=0644) {
define foreman::remote_file($remote_location, $mode='0644') {
exec {"retrieve_${title}":
command => "/usr/bin/curl -s ${remote_location} -o ${title}",
creates => $title,
Expand Down

0 comments on commit 6f6719d

Please sign in to comment.