Report abuse

manifest

1
2
3
4
5
6
7
8
9
10
11
12
13
exec { "apt-get-update":
        refreshonly => true,
        command => "/usr/bin/apt-get update",
}

Package {
        provider => "apt",
        require  => Exec["apt-get-update"],
}

package{"ngrep":
        ensure => present
}

output

1
2
3
4
5
# puppet --environment=production test.pp
notice: //Package[ngrep]/ensure: ensure changed 'purged' to 'present'

# puppet --environment=production test.pp
#