]> git.openstreetmap.org Git - chef.git/commitdiff
enable mikel on fume
authorGrant Slater <github@firefishy.com>
Tue, 23 Apr 2024 14:54:16 +0000 (15:54 +0100)
committerGrant Slater <github@firefishy.com>
Tue, 23 Apr 2024 14:54:16 +0000 (15:54 +0100)
cookbooks/accounts/files/default/mikel/.ssh/authorized_keys [new file with mode: 0644]
roles/blog-staging.rb [new file with mode: 0644]
roles/fume.rb

diff --git a/cookbooks/accounts/files/default/mikel/.ssh/authorized_keys b/cookbooks/accounts/files/default/mikel/.ssh/authorized_keys
new file mode 100644 (file)
index 0000000..e52e3ae
--- /dev/null
@@ -0,0 +1,2 @@
+# DO NOT EDIT - This file is being maintained by Chef - use authorized_keys2 instead
+ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCmMyloQ+2+9Din4JPv11cu8EHgHREz3zljaxUDcU/zh2XoZIZn5jm9+qev+ga2ewX2gS8HflIIY5LG3sHCxhzUAvv5vFUha1qZVOA6CIi4WEqJfNkkyBuPFwYQDFwMgxQV/tOIAc/94lJ1DT/BrfJmeayh08OKgEpLLFTUDdlSA79sbQoT4JwTQM46H1s6r1adYjjZmz6vdyJ2yq3ODGWz356ad7hCch4AzK79MVkitaY2v17Zy+gKLkT75G1Fy4J0wBsDszNZHbNO95Exyqld4L4AvTGsz6JHglceMb/r7ma/Od0T+VT5TI5cQwZUqXOEOWRf2VptYQ7RrgSPKRq7 mikel_maron
diff --git a/roles/blog-staging.rb b/roles/blog-staging.rb
new file mode 100644 (file)
index 0000000..80f07a1
--- /dev/null
@@ -0,0 +1,18 @@
+name "blog-staging"
+description "Role applied to staging blog servers"
+
+default_attributes(
+  :accounts => {
+    :users => {
+      :mikel => { :status => :user }
+    },
+    :wordpress => {
+      :status => :role,
+      :members => [:mikel]
+    }
+  }
+)
+
+run_list(
+  "recipe[blog::staging]"
+)
index 7404d07b7d8bb0a86ea9583c4b1f8dcbe39f4b44..5b4c5a670ac12ea6d5d06a36866e2c5be272fe44 100644 (file)
@@ -33,5 +33,5 @@ default_attributes(
 
 run_list(
   "role[equinix-dub]",
-  "recipe[blog::staging]"
+  "role[blog-staging]"
 )