Skip to content

Commit

Permalink
怪奇現象
Browse files Browse the repository at this point in the history
  • Loading branch information
nna774 committed Apr 24, 2024
1 parent 4091a2c commit 904ad13
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions itamae/cookbooks/nana/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,12 @@
create_home true
end

directory "/home/#{username}" do
owner username
group username
mode node.dig(:nana, :homedir_mode)
end
#directory "/home/#{username}" do
# owner username
# group username
# mode node[:nana].fetch(:homedir_mode)
#end
## なぜか↑があると /home/alarm/mitamae/mrblib/mitamae/recipe_executor.rb:24:undefined method 'name' for #<NilClass:0x0> (NoMethodError) と死ぬ

directory "/home/#{username}/.ssh" do
owner username
Expand Down

0 comments on commit 904ad13

Please sign in to comment.