Sha256: d93a34af1316107ecf58e592ebf257188429d88592ce6f933a1648097e52dd48
Contents?: true
Size: 658 Bytes
Versions: 3
Compression:
Stored size: 658 Bytes
Contents
class instrumental_tools( $api_key = '' ) { include packagecloud case $operatingsystem { 'RedHat', 'CentOS': { $package_type = 'rpm' } 'Debian', 'Ubuntu': { $package_type = 'deb' } } packagecloud::repo { "expectedbehavior/instrumental": type => $package_type, } package { "instrumental-tools": ensure => latest, require => Packagecloud::Repo["expectedbehavior/instrumental"] } file { "instrumental-config": path => "/etc/instrumental.yml", owner => "nobody", mode => "0440", require => Package["instrumental-tools"], content => template("instrumental_tools/instrumental.yml.erb") } }
Version data entries
3 entries across 3 versions & 1 rubygems