Move i3 to separate module
This commit is contained in:
parent
0a4923e238
commit
b0b92c1056
4 changed files with 9 additions and 6 deletions
|
@ -10,4 +10,5 @@ node default {
|
||||||
include gnome
|
include gnome
|
||||||
include config
|
include config
|
||||||
include shell
|
include shell
|
||||||
|
include i3
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,10 +20,4 @@ class config {
|
||||||
mode => "0644",
|
mode => "0644",
|
||||||
source => 'puppet:///modules/config/uniemoji.json'
|
source => 'puppet:///modules/config/uniemoji.json'
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/home/jake/.config/i3/config':
|
|
||||||
ensure => file,
|
|
||||||
mode => "0644",
|
|
||||||
source => 'puppet:///modules/config/i3.conf'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
8
modules/i3/manifests/init.pp
Normal file
8
modules/i3/manifests/init.pp
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
class i3 {
|
||||||
|
file { "i3 config":
|
||||||
|
path => '/home/jake/.config/i3/config',
|
||||||
|
ensure => file,
|
||||||
|
mode => "0644",
|
||||||
|
source => 'puppet:///modules/i3/i3.conf'
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue