From 22553536ad1061d60c9e5f510bba98b1e5fd8df7 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 23 May 2016 14:30:54 +0200 Subject: [PATCH] saving uncommitted changes in /etc prior to emerge run --- .etckeeper | 5 ++++- salt/minion | 2 +- salt/pki/master/minions/weimar.pb.local | 9 +++++++++ salt/pki/minion/minion.pem | 27 +++++++++++++++++++++++++ salt/pki/minion/minion.pub | 9 +++++++++ salt/pki/minion/minion_master.pub | 14 +++++++++++++ 6 files changed, 64 insertions(+), 2 deletions(-) create mode 100644 salt/pki/master/minions/weimar.pb.local create mode 100644 salt/pki/minion/minion.pem create mode 100644 salt/pki/minion/minion.pub create mode 100644 salt/pki/minion/minion_master.pub diff --git a/.etckeeper b/.etckeeper index b92fe43..d750008 100755 --- a/.etckeeper +++ b/.etckeeper @@ -5,7 +5,6 @@ mkdir -p './salt/pki/master/minions_autosign' mkdir -p './salt/pki/master/minions_denied' mkdir -p './salt/pki/master/minions_pre' mkdir -p './salt/pki/master/minions_rejected' -mkdir -p './salt/pki/minion' mkdir -p './security/limits.d' mkdir -p './security/namespace.d' mkdir -p './skel/.ssh' @@ -878,6 +877,7 @@ maybe chmod 0644 'salt/pki/master/minions/storage2.stage.pb.local' maybe chmod 0644 'salt/pki/master/minions/storage3.stage.pb.local' maybe chmod 0644 'salt/pki/master/minions/storage4.stage.pb.local' maybe chmod 0644 'salt/pki/master/minions/storage7.stage.pb.local.pub' +maybe chmod 0644 'salt/pki/master/minions/weimar.pb.local' maybe chmod 0644 'salt/pki/master/minions/ztest-ftp.pb.local' maybe chmod 0644 'salt/pki/master/minions/ztest-pserver1.pb.local' maybe chmod 0644 'salt/pki/master/minions/ztest-pserver2.pb.local' @@ -892,6 +892,9 @@ maybe chmod 0755 'salt/pki/master/minions_denied' maybe chmod 0770 'salt/pki/master/minions_pre' maybe chmod 0770 'salt/pki/master/minions_rejected' maybe chmod 0700 'salt/pki/minion' +maybe chmod 0400 'salt/pki/minion/minion.pem' +maybe chmod 0644 'salt/pki/minion/minion.pub' +maybe chmod 0644 'salt/pki/minion/minion_master.pub' maybe chmod 0644 'salt/proxy' maybe chmod 0644 'salt/roster' maybe chmod 0644 'sandbox.conf' diff --git a/salt/minion b/salt/minion index 2bcb6a5..48d310e 100644 --- a/salt/minion +++ b/salt/minion @@ -13,7 +13,7 @@ # Set the location of the salt master server. If the master server cannot be # resolved, then the minion will fail to start. -#master: salt +master: weimar.pb.local # If multiple masters are specified in the 'master' setting, the default behavior # is to always try to connect to them in the order they are listed. If random_master is diff --git a/salt/pki/master/minions/weimar.pb.local b/salt/pki/master/minions/weimar.pb.local new file mode 100644 index 0000000..74be363 --- /dev/null +++ b/salt/pki/master/minions/weimar.pb.local @@ -0,0 +1,9 @@ +-----BEGIN PUBLIC KEY----- +MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqOw4d3Zr0lEYdpyPld/a +v6WXk3pcV2HnTh+5ZePRXJn+G9usXPG/LXNdrZu0aIsRWk7P80CtjMZGmN87/j/l +zfOW3fRT3oSfVgq/i45v0HGjLVOmkAsKqpkPwAh1au+A2045PoxFAUu+7hNJDTOW +BZmErEJdCfDDUboGdMyoNGQIwKXDWvb9KJqBTw3wbSTWFMz/tUq2kf3y7QyRJdwi +j5O82eXAD5tmZ+HK2umSLYfYVVy3VmMKwvDnvqv5oTmzHl79bOI4wEo/dD89ThyK +UvxVZrdOBQOnDttuAE14DCywaBzVqf4PcQwYxnVMcOyYuTwF5BSRnE6hwbIxaHRZ +NwIDAQAB +-----END PUBLIC KEY----- \ No newline at end of file diff --git a/salt/pki/minion/minion.pem b/salt/pki/minion/minion.pem new file mode 100644 index 0000000..6ad706f --- /dev/null +++ b/salt/pki/minion/minion.pem @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEpAIBAAKCAQEAqOw4d3Zr0lEYdpyPld/av6WXk3pcV2HnTh+5ZePRXJn+G9us +XPG/LXNdrZu0aIsRWk7P80CtjMZGmN87/j/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kfeI1eHMCb+rN8rWa0bWs4ISFvZVZH5BGvqrswF9MEpLWFPiUkcMsJK +7VJbslU4NzOrm5i/gwhSwXMCgYEAiJ6zTdqyNZZbkOJN26i9bgBrE8hIlxl7BpuP +Nge/XD3PDq9tk13wse41A0R06BFDeE6IzfD+7BFMEWsn+zf+zld0RxvtqhrlXfPt +S2UqYGVk73eCOpqXG6qhERD/L1jO8ME+Y22A1UZERq78i3YF87NW0ZTbu6c13OV7 +hP1b5qkCgYAgbSKHgKHGdgf7X2UxQ3YLBBYN/LKvtc0XZOsxSOQKGAUE0XH1NmKP +ZrJV8r3xyWmUNorUb7MPZy4hdjFExTr7wy4R9ragYN+UUNLOqpjlY0yXfxtsH2V7 +0wavhLJs2QlcXCFub25slfZ9FHY4lpiiMxjh0qedfCSWRCTsHyGeIg== +-----END RSA PRIVATE KEY----- \ No newline at end of file diff --git a/salt/pki/minion/minion.pub b/salt/pki/minion/minion.pub new file mode 100644 index 0000000..74be363 --- /dev/null +++ b/salt/pki/minion/minion.pub @@ -0,0 +1,9 @@ +-----BEGIN PUBLIC KEY----- +MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqOw4d3Zr0lEYdpyPld/a +v6WXk3pcV2HnTh+5ZePRXJn+G9usXPG/LXNdrZu0aIsRWk7P80CtjMZGmN87/j/l +zfOW3fRT3oSfVgq/i45v0HGjLVOmkAsKqpkPwAh1au+A2045PoxFAUu+7hNJDTOW +BZmErEJdCfDDUboGdMyoNGQIwKXDWvb9KJqBTw3wbSTWFMz/tUq2kf3y7QyRJdwi +j5O82eXAD5tmZ+HK2umSLYfYVVy3VmMKwvDnvqv5oTmzHl79bOI4wEo/dD89ThyK +UvxVZrdOBQOnDttuAE14DCywaBzVqf4PcQwYxnVMcOyYuTwF5BSRnE6hwbIxaHRZ +NwIDAQAB +-----END PUBLIC KEY----- \ No newline at end of file diff --git a/salt/pki/minion/minion_master.pub b/salt/pki/minion/minion_master.pub new file mode 100644 index 0000000..4bcdac2 --- /dev/null +++ b/salt/pki/minion/minion_master.pub @@ -0,0 +1,14 @@ +-----BEGIN PUBLIC KEY----- +MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA4+Xye1IXOZEWzg/5jF4N +R3NPIJ4T2ToQchcl5NTuCNMYXoX/24MF2yJLcHV7sdJ7QeVEcBDpJiz5oEOkMmEN +lf2zWEFAU1cnaVGX+B65ih/UwYsHkD8kbh7DZ6yVAxcsJpwAxloG0irjZZQmPFiy +IFTpSGVhn4OhD4W1ws8Z5z1OQmHeU8+Ei0ykAqb/pTy1+iJ0eG0tZP4WeLwZnu8o +xIMM9SJKaF/GxzFnI4mejt29GCaZ+Nv5Y3hauMwnal6mKPvWcZwZMOGYmWr4IbKY +CVBsGaufdUBOxMlbU3zmUuy/YTgqOm1eH5wPvRYbYA68iQDr2CSPZ0c7yyjCS+VY +5eQwxwJrieFz40Exqt5+K0WWwNFC5cebkrwNXSOi8nHye43MUUuJNQinC03Etfmt +gRxBUGrsSYrQF7lBvFtgPgEC8iJGVAHxIGa1g3ePyVS3KIZhx1Nt+nPWvjKubWlE +LC6yKLZ93Msu4oTqfLKZmZVHEHyt1UqLaQpA11PUa1Ct715XWL5gvBKlGi9X25w2 +LUhzLTuh+R5A6LMf7kgU16wTDgZkxhmfBN7yyuTY+fgzWvA6MtCJINBVY9mSxCJQ +eQ+yBLIFlK3LTADHoeHGSLzDmpqHEnql6KJyQoWEayvQSRxouSziscjV0zooKeOm +em0B7qAoBXiZA2z37K4ypYsCAwEAAQ== +-----END PUBLIC KEY----- -- 2.39.5