mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-28 04:34:15 -04:00
sysutils/puppet-agent: add introduction page
This commit is contained in:
parent
f2980f9178
commit
b7c4afa7af
2 changed files with 37 additions and 15 deletions
|
|
@ -13,6 +13,7 @@ Plugin Changelog
|
|||
|
||||
Added:
|
||||
* add log file
|
||||
* add introduction page
|
||||
|
||||
0.1
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
{#
|
||||
|
||||
OPNsense® is Copyright © 2021 Frank Wall
|
||||
OPNsense® is Copyright © 2021 Jan Winkler
|
||||
OPNsense® is Copyright © 2014 – 2015 by Deciso B.V.
|
||||
All rights reserved.
|
||||
|
|
@ -47,20 +48,40 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
});
|
||||
</script>
|
||||
|
||||
<div class="alert alert-info hidden" role="alert" id="responseMsg">
|
||||
<ul class="nav nav-tabs" role="tablist" id="maintabs">
|
||||
<li class="active"><a data-toggle="tab" id="settings-introduction" href="#subtab_settings-introduction"><b>{{ lang._('Introduction') }}</b></a></li>
|
||||
<li><a data-toggle="tab" id="settings-tab" href="#settings"><b>{{ lang._('Settings') }}</b></a></li>
|
||||
</ul>
|
||||
|
||||
<div class="content-box tab-content">
|
||||
|
||||
<div id="subtab_settings-introduction" class="tab-pane fade in active">
|
||||
<div class="col-md-12">
|
||||
<h1>{{ lang._('Quick Start Guide') }}</h1>
|
||||
<p>{{ lang._("Welcome to the Puppet Agent plugin! This plugin allows you to integrate OPNsense with your Puppet environment.") }}</p>
|
||||
<p>{{ lang._("Keep in mind that you should not treat OPNsense like any other operating system. Most notably you should not modify system files or packages. Instead use the OPNsense API to make configuration changes and to manage plugins. The following tools are a good starting point when trying to automate OPNsense with Puppet:") }}</p>
|
||||
<ul>
|
||||
<li>{{ lang._("%sopn-cli:%s A command line client to configure OPNsense core and plugin components through their respective APIs.") | format('<a href="https://github.com/andeman/opn-cli" target="_blank">', '</a>') }}</li>
|
||||
<li>{{ lang._("%spuppet/opnsense:%s A read-to-use Puppet module for automating the OPNsense firewall.") | format('<a href="https://github.com/andeman/puppet-opnsense" target="_blank">', '</a>') }}</li>
|
||||
</ul>
|
||||
<p>{{ lang._("Note that these tools are not directly related to this plugin. Please report issues and missing features directly to the author.") }}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="settings" class="tab-pane fade">
|
||||
{{ partial("layout_partials/base_form",['fields':generalForm,'id':'frm_GeneralSettings'])}}
|
||||
|
||||
<div class="col-md-12">
|
||||
<hr/>
|
||||
<button class="btn btn-primary" id="saveAct"
|
||||
data-endpoint='/api/puppetagent/service/reconfigure'
|
||||
data-label="{{ lang._('Save') }}"
|
||||
data-service-widget="puppetagent"
|
||||
data-error-title="{{ lang._('Error reconfiguring puppetagent') }}"
|
||||
type="button">
|
||||
</button>
|
||||
<br/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-12">
|
||||
{{ partial("layout_partials/base_form",['fields':generalForm,'id':'frm_GeneralSettings'])}}
|
||||
</div>
|
||||
|
||||
<div class="col-md-12">
|
||||
<button class="btn btn-primary" id="saveAct"
|
||||
data-endpoint='/api/puppetagent/service/reconfigure'
|
||||
data-label="{{ lang._('Save') }}"
|
||||
data-service-widget="puppetagent"
|
||||
data-error-title="{{ lang._('Error reconfiguring puppetagent') }}"
|
||||
type="button"
|
||||
></button>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue