Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nest
Puppet
Commits
62936d6c
Commit
62936d6c
authored
Jan 08, 2020
by
James T. Lee
Browse files
zfs: Create /etc/hostid
parent
0659e091
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
manifests/profile/base/zfs.pp
manifests/profile/base/zfs.pp
+8
-0
No files found.
manifests/profile/base/zfs.pp
View file @
62936d6c
...
@@ -26,6 +26,14 @@ class nest::profile::base::zfs {
...
@@ -26,6 +26,14 @@ class nest::profile::base::zfs {
;
;
}
}
exec
{
'zgenhostid'
:
command
=>
'zgenhostid `hostid`'
,
creates
=>
'/etc/hostid'
,
path
=>
'/usr/bin:/bin'
,
require
=>
Package
[
'sys-fs/zfs'
],
notify
=>
Class
[
'::nest::profile::base::dracut'
],
}
file
{
'/usr/lib/dracut/modules.d/90zfs/zfs-load-key.sh'
:
file
{
'/usr/lib/dracut/modules.d/90zfs/zfs-load-key.sh'
:
mode
=>
'0755'
,
mode
=>
'0755'
,
owner
=>
'root'
,
owner
=>
'root'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment