Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
89473ab
Added note for option to use either ssl or starttls (gsuite w/postfix…
cwlinode Sep 27, 2018
0a979cb
Update index.md (#2049)
markstonehouse Oct 2, 2018
b28b154
Updated resizing a inode images to reflect new plans (#2059)
evinjenioso Oct 4, 2018
64a81fd
Salt command line reference add'l copy edits (#2061)
cwlinode Oct 4, 2018
c6b1aef
[NEW] Migrating from Tokyo 1 to Tokyo 2 (#2046)
nmelehan Oct 4, 2018
4a7da92
Remove sentence (#2069)
Guaris Oct 10, 2018
4e13d05
Deprecated Django Guide (#2072)
Guaris Oct 11, 2018
710e9bc
Jinja intro research and write
leslitagordita Oct 11, 2018
2459f99
Tech Edit
andystevensname Oct 16, 2018
4a02f45
Fix typo (#2079)
Jskobos Oct 17, 2018
199efc6
Merge pull request #2081 from leslitagordita/rc-0.1
nmelehan Oct 17, 2018
990dd48
Update Terraform for Linode provider.
cwlinode Oct 17, 2018
4b63cb7
Fixed issues with the wireguard guide and the fully-managed guide (#2…
Guaris Oct 18, 2018
57948b8
Removed a reference to legacy billing (#2084)
Guaris Oct 18, 2018
6f8e7ff
Added a link to the images guide promoting our image feature (#2085)
Guaris Oct 18, 2018
9cb18de
[UPDATE] salt cloud v3 API note and size names (#2073)
ubergarm Oct 18, 2018
7b24f02
sshd service restart - error (#2068)
madappally Oct 18, 2018
aba7887
linux-hardened kernel support was dropped. (#2065)
ellisbenjamin Oct 18, 2018
cae8bdb
Update dd command call in "Backup & Restore" (#2052)
m-martinez Oct 18, 2018
85d65d5
Terminal outputs corrected and a few other edits
cwlinode Oct 18, 2018
31b847a
Guaris patch 1 (#2087)
Guaris Oct 19, 2018
d3d4480
Quick fix GitHub issues. (#2088)
cwlinode Oct 19, 2018
d4d5687
Tech Edits
leslitagordita Oct 19, 2018
9504aa9
Copy edit complete
nmelehan Oct 20, 2018
0854282
Remove trailing whitespace
leslitagordita Oct 20, 2018
685950c
Fixing Linode group label (minor fix)
nmelehan Oct 20, 2018
5ed2894
Merge remote-tracking branch 'cwalsh/terraformupdate' into terraformu…
nmelehan Oct 20, 2018
4c4c2e2
Merge pull request #2082 from cwlinode/terraformupdate
nmelehan Oct 20, 2018
0413615
[NEW] Automate Static Site Deployments with Salt, Git, and Webhooks (…
nmelehan Oct 25, 2018
d7c4eee
[New] Create a Salt Execution Module (#2064)
andystevensname Oct 25, 2018
a8d3154
[New] Monitoring Salt Minions with Beacons (#2070)
andystevensname Oct 25, 2018
badf3aa
Copy edit
cwlinode Oct 26, 2018
e5ab1b7
Correct dirname
cwlinode Oct 26, 2018
8b0fe28
[Fix ] Billings and payments anchor (#2096)
leslitagordita Oct 29, 2018
8802572
Update index.md (#2091)
Jskobos Oct 29, 2018
1d3434b
Review edits
nmelehan Oct 29, 2018
ce0f002
Rename guide path to match new title
nmelehan Oct 29, 2018
ee03f3e
[NEW] A Beginner's Guide to Salt (#2078)
cwlinode Oct 31, 2018
4cac48a
Merge remote-tracking branch 'upstream/develop' into jinja-intro
nmelehan Nov 1, 2018
3f5bbce
Vale threw up a bunch of spelling errors in unrelated guides after th…
nmelehan Nov 1, 2018
c646c97
More spelling fix
nmelehan Nov 1, 2018
7181317
More spelling fixes 2
nmelehan Nov 1, 2018
010af48
Merge pull request #2074 from leslitagordita/jinja-intro
nmelehan Nov 1, 2018
09172bb
Remove Magnifying Glass (#2098)
andystevensname Nov 2, 2018
dc1aa7f
Merge remote-tracking branch 'upstream/master' into rc-0.2
Nov 2, 2018
b401b14
rebuild theme
Nov 2, 2018
ffd3edb
Vale fix
nmelehan Nov 2, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions ci/vale/dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ addons
addr
adduser
adminpack
adnanh
adodb
aes
ahci0
Expand Down Expand Up @@ -127,6 +128,7 @@ certbot
certcheck
cfg
cgi
chainable
changelog
changelogs
changeme
Expand Down Expand Up @@ -213,6 +215,7 @@ daemonizes
daemonizing
daemonset
dahdi
datacenter
datadir
dataset
datasets
Expand Down Expand Up @@ -240,6 +243,7 @@ defragment
deprovisioning
descolada
descr
deserialize
dest
dev
devel
Expand Down Expand Up @@ -387,11 +391,13 @@ framesets
freedns
friendster
frontend
frontmatter
fs
fsck
fstab
galera
gamemode
gamepad
gameplay
gandi
gatsby
Expand Down Expand Up @@ -472,6 +478,7 @@ heartbleed
heroku
hexo
hiera
highstate
hilights
hl2
hl2
Expand Down Expand Up @@ -710,6 +717,7 @@ mapreduce
mariadb
maskname
masterdb
masterless
mathematica
mathjax
maxconn
Expand Down Expand Up @@ -1053,6 +1061,7 @@ resolvconf
resque
restapi
retpoline
reusability
reutilize
richlanguage
rimap
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
hugo_group:
group.present:
- name: {{ pillar['hugo_deployment_data']['group'] }}

hugo_user:
user.present:
- name: {{ pillar['hugo_deployment_data']['user'] }}
- gid: {{ pillar['hugo_deployment_data']['group'] }}
- home: {{ pillar['hugo_deployment_data']['home_dir'] }}
- createhome: True
- require:
- group: hugo_group

hugo_site_repo:
cmd.run:
- name: git clone --recurse-submodules https://github.com/{{ pillar['hugo_deployment_data']['github_account'] }}/{{ pillar['hugo_deployment_data']['site_repo_name'] }}.git
- cwd: {{ pillar['hugo_deployment_data']['home_dir'] }}
- runas: {{ pillar['hugo_deployment_data']['user'] }}
- creates: {{ pillar['hugo_deployment_data']['home_dir'] }}/{{ pillar['hugo_deployment_data']['site_repo_name'] }}
- require:
- pkg: git_pkg
- user: hugo_user

nginx_default:
file.absent:
- name: '/etc/nginx/sites-enabled/default'
- require:
- pkg: nginx_pkg

nginx_config:
file.managed:
- name: /etc/nginx/sites-available/hugo_site
- source: salt://hugo/files/hugo_site
- user: root
- group: root
- mode: 0644
- template: jinja
- require:
- pkg: nginx_pkg

nginx_symlink:
file.symlink:
- name: /etc/nginx/sites-enabled/hugo_site
- target: /etc/nginx/sites-available/hugo_site
- user: root
- group: root
- require:
- file: nginx_config

nginx_document_root:
file.directory:
- name: {{ pillar['hugo_deployment_data']['nginx_document_root'] }}/{{ pillar['hugo_deployment_data']['site_repo_name'] }}
- user: {{ pillar['hugo_deployment_data']['user'] }}
- group: {{ pillar['hugo_deployment_data']['group'] }}
- dir_mode: 0755
- require:
- user: hugo_user

build_script:
file.managed:
- name: {{ pillar['hugo_deployment_data']['home_dir'] }}/deploy.sh
- source: salt://hugo/files/deploy.sh
- user: {{ pillar['hugo_deployment_data']['user'] }}
- group: {{ pillar['hugo_deployment_data']['group'] }}
- mode: 0755
- template: jinja
- require:
- user: hugo_user
cmd.run:
- name: ./deploy.sh
- cwd: {{ pillar['hugo_deployment_data']['home_dir'] }}
- runas: {{ pillar['hugo_deployment_data']['user'] }}
- creates: {{ pillar['hugo_deployment_data']['nginx_document_root'] }}//{{ pillar['hugo_deployment_data']['site_repo_name'] }}/index.html
- require:
- file: build_script
- cmd: hugo_site_repo
- file: nginx_document_root

webhook_systemd_unit:
file.managed:
- name: '/etc/systemd/system/webhook.service'
- source: salt://hugo/files/webhook.service
- user: root
- group: root
- mode: 0644
- template: jinja
- require:
- pkg: webhook_pkg
module.run:
- name: service.systemctl_reload
- onchanges:
- file: webhook_systemd_unit

webhook_config:
file.managed:
- name: '/etc/webhook.conf'
- source: salt://hugo/files/webhook.conf
- user: root
- group: {{ pillar['hugo_deployment_data']['group'] }}
- mode: 0640
- template: jinja
- require:
- pkg: webhook_pkg
- group: hugo_group
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
hugo_group:
group.present:
- name: {{ pillar['hugo_deployment_data']['group'] }}

hugo_user:
user.present:
- name: {{ pillar['hugo_deployment_data']['user'] }}
- gid: {{ pillar['hugo_deployment_data']['group'] }}
- home: {{ pillar['hugo_deployment_data']['home_dir'] }}
- createhome: True
- require:
- group: hugo_group

hugo_site_repo:
cmd.run:
- name: git clone --recurse-submodules https://github.com/{{ pillar['hugo_deployment_data']['github_account'] }}/{{ pillar['hugo_deployment_data']['site_repo_name'] }}.git
- cwd: {{ pillar['hugo_deployment_data']['home_dir'] }}
- runas: {{ pillar['hugo_deployment_data']['user'] }}
- creates: {{ pillar['hugo_deployment_data']['home_dir'] }}/{{ pillar['hugo_deployment_data']['site_repo_name'] }}
- require:
- pkg: git_pkg
- user: hugo_user

nginx_default:
file.absent:
- name: '/etc/nginx/sites-enabled/default'
- require:
- pkg: nginx_pkg

nginx_config:
file.managed:
- name: /etc/nginx/sites-available/hugo_site
- source: salt://hugo/files/hugo_site
- user: root
- group: root
- mode: 0644
- template: jinja
- require:
- pkg: nginx_pkg

nginx_symlink:
file.symlink:
- name: /etc/nginx/sites-enabled/hugo_site
- target: /etc/nginx/sites-available/hugo_site
- user: root
- group: root
- require:
- file: nginx_config

nginx_document_root:
file.directory:
- name: {{ pillar['hugo_deployment_data']['nginx_document_root'] }}/{{ pillar['hugo_deployment_data']['site_repo_name'] }}
- user: {{ pillar['hugo_deployment_data']['user'] }}
- group: {{ pillar['hugo_deployment_data']['group'] }}
- dir_mode: 0755
- require:
- user: hugo_user

build_script:
file.managed:
- name: {{ pillar['hugo_deployment_data']['home_dir'] }}/deploy.sh
- source: salt://hugo/files/deploy.sh
- user: {{ pillar['hugo_deployment_data']['user'] }}
- group: {{ pillar['hugo_deployment_data']['group'] }}
- mode: 0755
- template: jinja
- require:
- user: hugo_user
cmd.run:
- name: ./deploy.sh
- cwd: {{ pillar['hugo_deployment_data']['home_dir'] }}
- runas: {{ pillar['hugo_deployment_data']['user'] }}
- creates: {{ pillar['hugo_deployment_data']['nginx_document_root'] }}//{{ pillar['hugo_deployment_data']['site_repo_name'] }}/index.html
- require:
- file: build_script
- cmd: hugo_site_repo
- file: nginx_document_root
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading