Skip to content

Instantly share code, notes, and snippets.

@BarnacleBob
Created July 29, 2015 21:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BarnacleBob/4eb4be1155627bcdb3c7 to your computer and use it in GitHub Desktop.
Save BarnacleBob/4eb4be1155627bcdb3c7 to your computer and use it in GitHub Desktop.
------------puppet-control-repo(staging)----------
A data/profile/pjump.pp
A data/profile/sjump.pp
diff --git a/data/profile/pjump.pp b/data/profile/pjump.pp
new file mode 100644
index 0000000..c3ad3d3
--- /dev/null
+++ b/data/profile/pjump.pp
@@ -0,0 +1,4 @@
+---
+classes:
+ - role::jump
+ - role::home
diff --git a/data/profile/sjump.pp b/data/profile/sjump.pp
new file mode 100644
index 0000000..3dda82b
--- /dev/null
+++ b/data/profile/sjump.pp
@@ -0,0 +1,3 @@
+---
+classes
+ - role::jump
------------puppet-role(master)----------
A manifests/home.pp
A manifests/jump.pp
diff --git a/manifests/home.pp b/manifests/home.pp
new file mode 100644
index 0000000..d601d04
--- /dev/null
+++ b/manifests/home.pp
@@ -0,0 +1,3 @@
+class role::home {
+
+}
diff --git a/manifests/jump.pp b/manifests/jump.pp
new file mode 100644
index 0000000..26bac8c
--- /dev/null
+++ b/manifests/jump.pp
@@ -0,0 +1,3 @@
+class role::jump {
+ include 'ssh::port_knocking'
+}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment