Sha256: 55f6ce04eb2334f29efbafb909e49c096e0d01de40919179b018f650f2dc0586

Contents?: true

Size: 435 Bytes

Versions: 2

Compression:

Stored size: 435 Bytes

Contents

#! /bin/bash
echo "<%= $master_ip %> <%= $master_fqdn %>" >> /etc/hosts

mkdir -p /etc/puppetlabs/puppet
cat > /etc/puppetlabs/puppet/csr_attributes.yaml <<'EOF'
---
custom_attributes:
  challengePassword: <%= $signing_key %>
EOF

mkdir -p /etc/puppetlabs/facter/facts.d
cat > /etc/puppetlabs/facter/facts.d/facts.yaml <<'EOF'
---
role: '<%= $role %>'
EOF

curl -k https://<%= $master_fqdn %>:8140/packages/current/install.bash | bash

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
onceover-4.0.0 spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/userdata.epp
onceover-3.22.0 spec/fixtures/controlrepos/puppet_controlrepo/site-modules/profile/templates/userdata.epp