Skip to content

Instantly share code, notes, and snippets.

Detected conflicting Accounts::Virtual resources
Accounts::Virtual[melanthius] is conflicting
Conflicting resource ending on line 16 (view node report for details)
/etc/puppetlabs/puppet/environments/production/site/accounts/manifests/init.pp:16
16: }
17: @accounts::virtual { 'melantho':
18: uid => 721400112,
file "/etc/motd" {
ensure => file,
path => '/etc/motd',
owner => 'root',
group => 'root',
mode => '0755',
content => 'This is a crazy motd!\n'
}
#should be:
define users::managed_user (
$group = $title,
)
{
user { $title:
ensure => present,
managehome => true,
home => "/home/${title}",
gid => $group,
}
# profile::webserver
# this is a profile class that configures a webserver
class profile::webserver {
class{ 'apache': }
apache::vhost { 'vhost.example.com':
port => '80',
docroot => '/var/www/vhost',
}
}
@dnase
dnase / README.md
Last active September 26, 2022 18:12

get_enterprise_url.py

Gets download URLs for Vault Enterprise and Consul Enterprise

Prerequisites:

Semver is the only external dependency. pip install semver

Usage:

python get_enterprise_url.py -h will display all flags and options.

Keybase proof

I hereby claim:

  • I am dnase on github.
  • I am dnase (https://keybase.io/dnase) on keybase.
  • I have a public key ASDTeVl6cMYS-A_74IEdoaO5AnUa5WNaHXvNVGIvrs0acwo

To claim this, I am signing this object: