Skip to content

Commit 73abfa8

Browse files
committed
add proxmox role
1 parent a653cd3 commit 73abfa8

5 files changed

Lines changed: 18 additions & 2 deletions

File tree

.fixtures.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,7 @@ fixtures:
7979
debconf:
8080
repo: stm/debconf
8181
ref: 7.0.1
82+
repositories:
83+
proxmox:
84+
repo: https://github.com/mlibrary/puppet-proxmox
85+
ref: v0.1.0

manifests/role/proxmox.pp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
class nebula::role::proxmox (
2+
) {
3+
include nebula::profile::authorized_keys
4+
include nebula::profile::root
5+
include nebula::profile::vim
6+
include nebula::profile::ntp
7+
include nebula::profile::taghosts::tags
8+
9+
include proxmox
10+
}

rakelib/forge.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ namespace "forge" do
114114
mod["repo"] or
115115
raise "field 'repo' required for modules installed from git"
116116

117-
fixtures["repositories"] ||= []
117+
fixtures["repositories"] ||= {}
118118
fixtures["repositories"][full_name] = {"repo" => mod["repo"]}
119119
mod["ref"] and
120120
fixtures["repositories"][full_name]["ref"] = mod["ref"]

rakelib/metadata.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ dependencies:
2323
# - name: example/foobar
2424
# info: example/foobar 1.2.3 blocks example/baz 4.0.0
2525
- name: jdowning/rbenv
26+
- name: proxmox
27+
repo: https://github.com/mlibrary/puppet-proxmox
28+
ref: v0.1.0
2629
- name: puppet/archive
2730
- name: puppet/kmod
2831
- name: puppet/letsencrypt

spec/classes/all_roles.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ def test_roles(slice_number = 1, slice_count = 1)
7878
end
7979

8080
it { is_expected.to compile_along_with_all_roles(hiera_fixture) }
81-
it { is_expected.to contain_class("nebula::role::minimum") }
8281
end
8382
end
8483
end

0 commit comments

Comments
 (0)