Skip to content

Commit

Permalink
Merge pull request #4 from spakka/use_ensure_packages
Browse files Browse the repository at this point in the history
use ensure_packages
  • Loading branch information
bp85 authored Jan 7, 2021
2 parents 7f30dad + 1427f78 commit 0a20d26
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions manifests/install.pp
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#class to install packages
class mirror_repos::install {
package { $mirror_repos::packages:
ensure => present,
}
ensure_packages(
$mirror_repos::packages,
{
ensure => present,
},
)
}

0 comments on commit 0a20d26

Please sign in to comment.