Added puppet function for creating new classes

This commit is contained in:
2023-11-10 19:21:56 +11:00
parent 3aa3e4b247
commit 0302cda360
3 changed files with 48 additions and 5 deletions
+2
View File
@@ -14,6 +14,8 @@ vim.cmd [[
autocmd!
autocmd FileType puppet nnoremap <buffer> <Leader>g :call OpenPuppetClassOrTemplate()<CR>
autocmd FileType puppet nnoremap <buffer> <Leader>t :call OpenPuppetTestMode()<CR>
autocmd BufNewFile site/roles/manifests/**.pp call ApplyPuppetTemplate()
autocmd BufNewFile site/profiles/manifests/**.pp call ApplyPuppetTemplate()
augroup END
]]