We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90df5a9 commit bdbc4c8Copy full SHA for bdbc4c8
cookbooks/boxcutter_users/recipes/root.rb
@@ -16,12 +16,12 @@
16
# See the License for the specific language governing permissions and
17
# limitations under the License.
18
19
-root_password = Boxcutter::OnePassword.op_read('op://Automation-Org/root/hash')
20
-
21
user 'root' do
22
password root_password
23
shell '/bin/bash'
24
comment 'root'
25
gid 'root'
26
action :manage
+ not_if { kitchen? &&
+ Boxcutter::OnePassword.op_read('op://Automation-Org/root/hash') }
27
end
0 commit comments