Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #76 from petems/puppet_and_metadata_linting
Browse files Browse the repository at this point in the history
Linting fixes
  • Loading branch information
petems authored May 2, 2017
2 parents f4308d7 + 2c652fe commit d6c5470
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion manifests/files.pp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@

swap_file { $swapfile:
ensure => 'present',
require => File[$swapfile]
require => File[$swapfile],
}
if $add_mount {
mount { $swapfile:
Expand Down
4 changes: 1 addition & 3 deletions manifests/resize.pp
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@
exec { "Detach swap file ${swapfile_path} for resize":
command => "/sbin/swapoff ${swapfile_path}",
onlyif => "/sbin/swapon -s | grep ${swapfile_path}",
}
->
exec { "Purge ${swapfile_path} for resize":
} -> exec { "Purge ${swapfile_path} for resize":
command => "/bin/rm -f ${swapfile_path}",
onlyif => "test -f ${swapfile_path}",
path => [ '/bin/', '/sbin/' , '/usr/bin/', '/usr/sbin/' ],
Expand Down
4 changes: 2 additions & 2 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@
},
{
"name": "herculesteam/augeasproviders_sysctl",
"version_requirement": ">=2.1.0"
"version_requirement": ">=2.1.0 < 3.0.0"
},
{
"name": "herculesteam/augeasproviders_core",
"version_requirement": ">=2.1.0"
"version_requirement": ">=2.1.0 < 3.0.0"
}
]
}

0 comments on commit d6c5470

Please sign in to comment.