Get drive customers
This commit is contained in:
commit
3b58bcd2ae
2 changed files with 9 additions and 1 deletions
|
@ -48,6 +48,13 @@ class sunetdrive::scriptreceiver()
|
||||||
owner => 'root',
|
owner => 'root',
|
||||||
group => 'root',
|
group => 'root',
|
||||||
}
|
}
|
||||||
|
file { '/usr/local/bin/get_drive_customers':
|
||||||
|
ensure => file,
|
||||||
|
content => template('sunetdrive/scriptreceiver/get_drive_customers.erb.sh'),
|
||||||
|
mode => '0744',
|
||||||
|
owner => 'root',
|
||||||
|
group => 'root',
|
||||||
|
}
|
||||||
file { '/usr/local/bin/safer_reboot':
|
file { '/usr/local/bin/safer_reboot':
|
||||||
ensure => file,
|
ensure => file,
|
||||||
content => template('sunetdrive/scriptreceiver/safer_reboot.erb'),
|
content => template('sunetdrive/scriptreceiver/safer_reboot.erb'),
|
||||||
|
|
|
@ -8,4 +8,5 @@ elif [[ "${mode}" == "single" ]]; then
|
||||||
else
|
else
|
||||||
filter='.fullnodes | join("\n")'
|
filter='.fullnodes | join("\n")'
|
||||||
fi
|
fi
|
||||||
cat /etc/hiera/data/common.yaml | yq -r "${filter}"
|
yq -r "${filter}" < /etc/hiera/data/common.yaml
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue