lib/chef-dk/command/generator_commands/policyfile.rb in chef-dk-1.2.22 vs lib/chef-dk/command/generator_commands/policyfile.rb in chef-dk-1.3.40
- old
+ new
@@ -13,11 +13,11 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
-require 'chef-dk/command/generator_commands/base'
+require "chef-dk/command/generator_commands/base"
module ChefDK
module Command
module GeneratorCommands
@@ -40,11 +40,11 @@
@policy_run_list = nil
@params_valid = true
end
def recipe
- 'policyfile'
+ "policyfile"
end
def setup_context
super
Generator.add_attr_to_context(:policyfile_dir, policyfile_dir)
@@ -86,10 +86,9 @@
else
@params_valid = false
err("ERROR: too many arguments")
return false
end
-
end
private
def use_default_policy_settings